package wangjg.codec.bitmap;


/*
	typedef struct {
	unsigned int size;// Info Header size in bytes
	int width,height;// Width and height of image
	unsigned short int planes;// Number of colour planes
	unsigned short int bits; // Bits per pixel
	unsigned int compression; // Compression type
	unsigned int imagesize; // Image size in bytes
	int xresolution,yresolution; // Pixels per meter
	unsigned int ncolours; // Number of colours
	unsigned int importantcolours; // Important colours
	} INFOHEADER;
 */
public class InfoHeader{
	private int size;
	private int width;
	private int height;
	private short planes;
	private short bits;
	private int compression;
	private int imagesize;
	int xresolution,yresolution;
	int ncolours;
	int importantcolours;
	
	public int getSize() {
		return size;
	}
	public void setSize(int size) {
		this.size = size;
	}
	public int getWidth() {
		return width;
	}
	public void setWidth(int width) {
		this.width = width;
	}
	public int getHeight() {
		return height;
	}
	public void setHeight(int height) {
		this.height = height;
	}
	public short getPlanes() {
		return planes;
	}
	public void setPlanes(short planes) {
		this.planes = planes;
	}
	public short getBits() {
		return bits;
	}
	public void setBits(short bits) {
		this.bits = bits;
	}
	public int getCompression() {
		return compression;
	}
	public void setCompression(int compression) {
		this.compression = compression;
	}
	public int getImagesize() {
		return imagesize;
	}
	public void setImagesize(int imagesize) {
		this.imagesize = imagesize;
	}
	public int getXresolution() {
		return xresolution;
	}
	public void setXresolution(int xresolution) {
		this.xresolution = xresolution;
	}
	public int getYresolution() {
		return yresolution;
	}
	public void setYresolution(int yresolution) {
		this.yresolution = yresolution;
	}
	public int getNcolours() {
		return ncolours;
	}
	public void setNcolours(int ncolours) {
		this.ncolours = ncolours;
	}
	public int getImportantcolours() {
		return importantcolours;
	}
	public void setImportantcolours(int importantcolours) {
		this.importantcolours = importantcolours;
	}
	
}